
*APPENDIX J
use "~/Desktop/jop replication/appendix j.dta"

*Table J1 Reps
reg repposyea repyeantdnpty
reg repposyea affyea
reg repposyea genpopyea
reg repposyea repyeantdnpty affyea genpopyea 
reg repposyea repyeantdnpty affyea genpopyea if abs(repyeantdnpty-affyea)>=.1
*Table J1 Dems
reg demposyea demyeantdnpty
reg demposyea affyea
reg demposyea genpopyea
reg demposyea demyeantdnpty affyea genpopyea
reg demposyea demyeantdnpty affyea genpopyea if abs(demyeantdnpty-affyea)>=.1
*Table J2
reg passadm presptyntdnpty
reg passadm affyea
reg passadm genpopyea
reg passadm presptyntdnpty affyea genpopyea
reg passadm presptyntdnpty affyea genpopyea if abs(presptyntdnpty-affyea)>=.1


 
 
*APPENDIX H, TABLES H1 AND H2
use "~/Desktop/jop replication/unifiedanalysisdataset_recoded.dta"
 
factor f_minwagejoint i_taxes1 f_tanfjoint i_health3 f_sumenvironment i_rguncontrol f_abortionjoint  if (TS_Donor | TS_Affluent | TS_GenPop), factor(1)

factor i_rtrade i_immigration5 f_rdefensejoint i_risolation if (TS_Donor | TS_Affluent | TS_GenPop), factor(1)

